package com.woniuxy.commons.exception.code;

public enum CartExceptionCode {

    CART_ADD_FAIL(8001,"购物车添加失败"),
    CART_DEL_FAIL(8002,"购物车单品删除失败"),
    CARTS_DEL_FAIL(8003,"购物车对应商家菜品删除失败"),
    CART_PEICE_NOT_FULL(8004,"不满足起送价")
    ;
    private Integer code;
    private String message;

    CartExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
